class ApiInfo{
  ApiInfo(
      this.apiID,
      this.apiName,
      this.apiMethod,
      this.apiUrl,
      this.apiDate
      );
  int? apiID;
  String apiName;
  String apiMethod;
  String apiUrl;
  String apiDate;

  ApiInfo.fromJson(Map<String, dynamic> json)
      : apiID=json['api_id'],
        apiName= json['api_name'],
        apiMethod = json['api_method'],
        apiUrl = json['api_url'],
        apiDate = json['api_date'];


  Map<String, Object?> toMap()=> {
    'api_id':apiID,
    'api_name':apiName,
    'api_method':apiMethod,
    'api_url':apiUrl,
    'api_date':apiDate
  };

}